class Item < ActiveRecord::Base
	validates_presence_of :name, :restaurant
	validates_numericality_of :price, :only_integer => true, :allow_nil => true

	belongs_to :restaurant
	has_many :pictures, :dependent => :destroy 
end